package com.hanrui.android.net.contract.message.audit.performance;

import android.content.Context;

import com.hanrui.android.library.base.BaseContract;
import com.hanrui.android.model.GetNextActvityBean;
import com.hanrui.android.model.PerformanceBizDetailBean;

/**
 * 绩效审批
 *
 */

public interface PerformanceBizContract {
    interface View extends BaseContract.BaseView{
        void getNextActivity(GetNextActvityBean data);
        void performanceBizApproval(int code);
        void performanceBizDetail(PerformanceBizDetailBean data);
    }

    interface Presenter extends BaseContract.BasePresenter<PerformanceBizContract.View>{
        void getNextActivity(Context context, String taskId, String procInsId, String bizId);
        void performanceBizApproval(Context context,
                                     String nextAssigneeList,
                                     String taskId,
                                     String procInsId,
                                     String bizId,
                                     String transitionId,
                                     String comment,
                                     String performanceList);
        void performanceBizDetail(Context context, String taskId, String procInsId, String bizId);
    }
}
